package com.sinog.biz.service.business.impl;

import com.sinog.biz.mapper.havexml.other.DadcMapper;
import com.sinog.biz.service.business.DadcMainService;
import com.sinog.core.model.UploadAppendixFile;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @desc 档案导出
 * @author sunsf
 * @date 2020-02-28
 */
@Service
public class DadcMainServiceImpl implements DadcMainService {

    @Resource
    private DadcMapper dadcMapper;

    /**
     * 获取基本信息
     * @param map map
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> getDachuBaseInfo(Map<String,Object> map) {
        return dadcMapper.getDachuBaseInfo(map);
    }

    /**
     * 获取衔接信息
     * @param map map
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuHcInfo(Map<String,Object> map) {
        return dadcMapper.getDachuHcInfo(map);
    }

    /**
     * 获取安置信息
     * @param map map
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuAzInfo(Map<String,Object> map) {
        return dadcMapper.getDachuAzInfo(map);
    }

    /**
     * 获取救助信息
     * @param map map
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuJzInfo(Map<String,Object> map) {
        return dadcMapper.getDachuJzInfo(map);
    }

    /**
     * 获取帮扶信息
     * @param map map
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuBfInfo(Map<String,Object> map) {
        return dadcMapper.getDachuBfInfo(map);
    }

    /**
     * 获取衔接信息
     * @param map map
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> getDachuXjInfo(Map<String,Object> map) {
        return dadcMapper.getDachuXjInfo(map);
    }

    /**
     * 获取失联信息
     * @param map map
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuSlInfo(Map<String,Object> map) {
        return dadcMapper.getDachuSlInfo(map);
    }

    /**
     * 获取年度鉴定信息
     * @param map map
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuJdInfo(Map<String,Object> map) {
        return dadcMapper.getDachuJdInfo(map);
    }

    /**
     * 获取导出模板
     * @param templateId templateId
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> getTemplateName(String templateId) {
        return dadcMapper.getTemplateName(templateId);
    }

    /**
     * 获取出监评估信息
     * @param map map
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> getDachuCjpgInfo(Map<String,Object> map) {
        return dadcMapper.getDachuCjpgInfo(map);
    }

    /**
     * 获取机构信息信息
     * @param map map
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> getDachuJgInfo(Map<String,Object> map) {
        return dadcMapper.getDachuJgInfo(map);
    }

    /**
     * 获取导出模板
     * @param paramMap paramMap
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuJtcyInfo(Map<String,Object> paramMap) {
        return dadcMapper.getDachuJtcyInfo(paramMap);
    }

    /**
     * 获取罪犯照片
     * @param priNum priNum
     * @return String
     */
    @Override
    public String getHeadPicByPrinum(String priNum) {
        return dadcMapper.getHeadPicByPrinum(priNum);
    }

    /**
     * 获取帮教人员信息
     * @param paramMap paramMap
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getDachuBjryInfo(Map<String,Object> paramMap) {
        return dadcMapper.getDachuBjryInfo(paramMap);
    }

    /**
     * 获取委托信息
     * @param paramMap paramMap
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> getWeituoInfo(Map<String,Object> paramMap) {
        return dadcMapper.getWeituoInfo(paramMap);
    }

    /**
     * 获取附件信息
     * @param paramMap paramMap
     * @return List<Map < String,Object>>
     */
    @Override
    public List<Map<String,Object>> getAppendix(Map<String,Object> paramMap) {
        return dadcMapper.getAppendix(paramMap);
    }

    /**
     * 预安置管理 - 预安置人员核查 - 核查中 - 导出(核查信息函)
     * @param paramMap paramMap
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> hcxxh(Map<String,Object> paramMap) {
        return dadcMapper.hcxxh(paramMap);
    }

    /**
     * 核查信息回执单 - 查询专用
     * @param paramMap paramMap
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> hchzd(Map<String,Object> paramMap) {
        return dadcMapper.hchzd(paramMap);
    }

    /**
     * 衔接函 - 查询专用
     * @param paramMap paramMap
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> xjh(Map<String,Object> paramMap) {
        return dadcMapper.xjh(paramMap);
    }

    /**
     * 衔接回执单 - 查询专用
     * @param paramMap paramMap
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> xjhzd(Map<String,Object> paramMap) {
        return dadcMapper.xjhzd(paramMap);
    }

    /**
     * 帮教工作方案查询专用
     * @param paramMap paramMap
     * @return Map<String,Object>
     */
    @Override
    public Map<String,Object> bjgzfa(Map<String,Object> paramMap) {
        return dadcMapper.bjgzfa(paramMap);
    }

    /**
     * 描述
     * @param priNum priNum
     * @param taskid taskid
     * @return List<UploadAppendixFile>
     */
    @Override
    public List<UploadAppendixFile> getUploadAppendixFile(String priNum,String taskid) {
        return dadcMapper.getUploadAppendixFile(priNum,taskid);
    }
}